import React from 'react'
import {BrowserRouter as Router,Routes,Route} from 'react-router-dom'
import Library from './library'
import Favorities from './favorities'
import Feed from './feed'
import Player from './player'
import Trendings from './trendings'
function Home() {
  return (
    <Router>
      <Routes>
        <Route path='/' element={<Library/>}/>
        <Route path='/favorities' element={<Favorities/>}/>
        <Route path='/feed' element={<Feed/>}/>
        <Route path='player' element={<Player/>}/>
        <Route path='trendings' element={<Trendings/>}/>
      </Routes>
    </Router>
  )
}

export default Home
